Login-Fail names a function, with lambda list (ERR2 MSG CLIENT):
Sends a login failure message.
{ from: "login", status: false, err: "login.fail", msg: "User-visible error message", err2: "unique error token" }
err2 is an unique error token to identify the specific reason why login was denied in machine-readable form. msg conveys approximately the same information, but in a form suitable for relaying to the end user.
The password hash submitted was incorrect. Refer to TOOTSVILLE INFINITY-LOGIN for the proper structure of the login packet. This usually, if the software is conforming, means that the user entered a bad password.
The client did not obtain an apple with which to create the password hash.
The Toot named does not exist.
The Zone named does not exist. Only $Eden is a valid Zone name.
The Toot named was not a child Toot. Login by password is for children only; adults use third-party authentication (eg, Firebase for Google and Twitter) to log in.
For an overview of the child login process, see TOOTSVILLE INFINITY-GET-APPLE.
Defined in file src/websockets.lisp.